import { _decorator, Component, Node } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('cocosmos.welcome')
export class Welcome extends Component {

    protected onHide(): void {
        this.node.destroy();
    }
}